﻿using ServerListerner.Connections;
using ServerListerner.Helper;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;


namespace ServerListerner
{
    /// <summary>
    /// Listen To TCP
    /// </summary>
    public interface ITCPServer:IDisposable
    {
       bool StartListen(Action<ITCPConnection> action);
       bool StopListen();
    }
}
